/**
 * Project problem4
 */


#ifndef _QUERYRESULT_H
#define _QUERYRESULT_H

class QueryResult {
public: 
    
/**
 * @param s
 * @param p
 * @param f
 */
void QueryResult(string s, shared_ptr<set<line_no>> p, shared_ptr<vector<string>> f);
    
set<size_t>::iterator begin();
    
set<size_t>::iterator end();
    
set<vector<string>> getfile();
private: 
    string sought;
    shared_ptr<set<line_no>> lines;
    shared_ptr<vector<string>> file;
};

#endif //_QUERYRESULT_H